package com.huanong.it.ui.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("users")
public class User {
    @TableId(value = "user_id",type= IdType.AUTO)
    private int id;
    @TableField("user_name")
    private String name;
    @TableField("user_pwd")
    private String pwd;
    @TableField("user_link_total")
    private int linkTotal;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getLinkTotal() {
        return linkTotal;
    }

    public void setLinkTotal(int linkTotal) {
        this.linkTotal = linkTotal;
    }
}
